class Person:

    @staticmethod
    def eat():
        """
方法：吃东西
        """
        print("吃东西")


class Cat(object):

    def eat(self):
        print("小猫爱吃鱼")

    def drink(self):
        print("小猫爱喝水")

    def test(self):
        print(id(self))


cat1: Cat = Cat()
print(id(cat1))
cat1.test()
